import Vue from 'vue'
import App from './App'
import store from './vuex/store.js'
import request from './common/request.js'
// #ifdef H5
import VueLazyload from 'vue-lazyload'  
Vue.use(VueLazyload, {
  preLoad: 1.3,
  loading: './static/imgs/main/lazy-load.png',
  attempt: 1
});
// #endif

Vue.prototype.$store = store
Vue.prototype.$request = request
Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
	store,
    ...App
})
app.$mount()
